package com.example.petback.model;


import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("orders")
public class OrderModel {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String number;
    private String address;
    private String name;
    private String phone;
    private String company;
    private String itemid;
    private Integer quantity;
    private Integer status;
    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;
    private BigDecimal totalPrice;
}
